using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.Serialization;

namespace KPIS.GERP.Models.ACM
{
    [DataContract, Table("acm_mas_account_version")]
    public class MasAccountVersion
    {
		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "VersionId", ResourceType = typeof(Resources.MasAccountVersionResource))]
        [Column("version_seq")]
        public int VersionId { get; set; }

        [DataMember, Display(Name = "VersionNo", ResourceType = typeof(Resources.MasAccountVersionResource))]
        [Column("version_no")]
        public string VersionNo { get; set; }

        [DataMember, Display(Name = "VersionDescr", ResourceType = typeof(Resources.MasAccountVersionResource))]
        [Column("version_descr")]
        public string VersionDescr { get; set; }

        [DataMember, Display(Name = "UseFlag", ResourceType = typeof(Resources.MasAccountVersionResource))]
        [Column("use_flag")]
        public Nullable<bool> UseFlag { get; set; }



        #region RecordStatus

        [DataMember, Display(Name = "RecordStatus", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        [Column("record_status")]
        public string RecordStatus { get; set; }

        [DataMember, Display(Name = "CreatedBy", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        [Column("created_by")]
        public Nullable<int> CreatedBy { get; set; }

        [DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        [Column("created_when")]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

        [DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        [Column("updated_by")]
        public Nullable<int> UpdatedBy { get; set; }

        [DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(SYS.Resources.RecordStatusResource))]
        [Column("updated_when")]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

        #endregion


    }
}